package com.example.securitydemo.controller;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: robert.song
 * @Date: Created in 2022/1/17
 */
@RestController
@RequestMapping("/product")
public class ProductController {
    @RequestMapping("success")
    @ResponseBody
    public String success() {
        return "success";
    }
}
